package com.qf.fronted.dao.selectaddress;


import com.qf.fronted.domain.District;

import java.sql.SQLException;
import java.util.List;

public interface IDistrictDao {

    //根据城市id获取地区
    List<District> getAllDistrictByCityId(Integer cityId) throws SQLException;

    //根据城市名获取地区
    List<District> getAllDistrictByCityName(String cityName);
}
